Skip to main content
guest
|
Join
|
Help
|
Sign In
guest
Join
|
Help
|
Sign In
schuchert
Home
Wiki Home
Recent Changes
Pages and Files
Members
My CV
C++ Training
New Stuff
FitNessse Tutorials
Experiential Learning
RubyNotes
EJB & JPA
Agile Courseware
Unpublished Articles
Tool Configuration
AOP
C# & OOP
Back to the Top
RPN Calculator
Edit
0
6
…
0
Tags
No tags
Notify
RSS
Backlinks
Source
Print
Export (PDF)
Elevator Pitch
For
developers wishing to get practice creating systems using
TDD
Who
are interested in starting with user stories that follow the
INVEST
principle
Our
RPN Calculator problem is a complete problem
That
gives users a rich enough to practice simple
TDD
Unlike
other problems that take you through the process step by step
Our Product
only provides the starting point from which you are expected to begin practicing
User Stories
The following list of user stories form a
Product Backlog
. The are additionally sectioned by
Releases
, each of which is given a
Theme
.
Release 1 - Theme: Basic Math
Addition
Subtraction
Multiplication
Division
Release 2 - Theme: Stack Management
Review Stack
Clear Stack
Insert into Stack
Replace Item on Stack
Release 3 - Theme: Advanced Math
Square Root
Y to X
1 over X
Sin
Cos
Tan
Exponentials
Factorials
Alternative Approach
As I've Actually Taught It
Getting Started
Here are some steps to get you started:
Project Setup
Create a workspace in eclipse
Make sure to have separate source folders, one called src, one called test
Add JUnit lib to your project's classpath
TDD
Pick the highest listed user uncompleted user story
Create a test for the first uncompleted UAT
Get the test to compile
Get the test to run
Refactor if necessary
Check in your source code
Repeat until all UAT's are done for the current user story
Repeat until all user stories for the current release are finished
RpnCalculatorCppExampleImplementation
Javascript Required
You need to enable Javascript in your browser to edit pages.
help on how to format text
Turn off "Getting Started"
Home
...
Loading...
Elevator Pitch
User Stories
The following list of user stories form a Product Backlog. The are additionally sectioned by Releases, each of which is given a Theme.Release 1 - Theme: Basic Math
Release 2 - Theme: Stack Management
Release 3 - Theme: Advanced Math
Alternative Approach
As I've Actually Taught ItGetting Started
Here are some steps to get you started:
Project Setup
TDD
RpnCalculatorCppExampleImplementation